package per.mnxc.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @BelongsProject: flower
 * @BelongsPackage: per.mnxc.common
 * @Author: mnxc
 * @CreateTime: 2022-11-27  19:31
 * @Description: 多级数据载体
 * @Version: 1.0
 */
@Data
@ApiModel("多级数据载体")
public class Options<T>{
    @ApiModelProperty("数据信息")
    T data;
    @ApiModelProperty("子节点列表")
    List<Options<T>> children;
}
